package demo;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 张宇田
 * Date: 2024-10-10
 * Time: 23:48
 */
public class Test {
    public static void main(String[] args) {
        Computer computer = new Computer();
        computer.powerOn();
        IUSB usb = new Keybord();
        computer.useDevice(usb);
    }
}
